package com.kizuki.design.factory;

import org.springframework.stereotype.Component;

@Component("Alipay")
public class AlipayPayStrategy implements PayStrategy{

    @Override
    public double discountPayMoney(long originalPrice) {
        return originalPrice * 0.99;
    }


}
